using System.Windows;
using SmartBoard.Book.Dialogs;
using SmartBoard.Core.UI;

namespace SmartBoard.Book.Commands
{
    public class MessageBoxUIPresenter : IUIPresenter
    {
        public string Caption { get; set; }
        public string Message { get; set; }
        public MessageBoxButton Buttons { get; set; }
        public MessageBoxResult TrueResult { get; set; }

        public bool? PresentUI()
        {
            return MessageBox.Show(Message, Caption, Buttons) == TrueResult;
        }
    }
}